<template>
  <div class="box">
      
      <div class="nav-header">
            <!-- 上面的登录组件 -->
            <div class="header-topbar">
            <a href="#/login">登入</a>
            或
            <a href="#/enroll">注册</a>
            ANTA会员
            <a href="#/card">购物车</a>
            </div>
      </div>
                <!-- 下面的导航栏 -->
      <div class="nav-container">

            <!-- 左边logo -->
          <div class="logo">
              <a href="/home">
              <img src="https://img.fishfay.com/theme/images/logo/logo-anta-r-02.svg" alt="">
              </a>
          </div>
            <!-- 右边的导航栏 -->
            <div class="nav-right">
            <a href="#/flag">东奥国旗款</a>
            <a href="#/man">男子</a>
            <a href="#/woman">女子</a>
            <a href="#/kids">儿童</a>
            <a href="#/antakids">安踏儿童</a>
            <a href="#/brand">品牌文化</a>
            <a href="#/advert">观赏视频</a>
            <a href="#/contact">联系我们</a>
            <div class="nav-search-box">
              <!-- 左边ico -->
              <div><a href="#/seek" class="seek"></a></div>
              <!-- 右边input -->
              <input type="text">
            </div>
            </div>
      </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang='scss' scoped>
  .box{
    width: 100%;
    .nav-header{
        width: 100%;
        height: 50px;
        border-bottom: 1px solid #ccc;
        line-height: 49px;
      .header-topbar{
        width: 200px;
        height: 51px;
        position: absolute;
        right: 70px;
        color: #999;
        font-size: 14px;
        justify-content: center;
        a{
          font-size: 14px;
          display:inline-block;
          color: #999;
          text-decoration: none;
          line-height: 20px;
        }
      }
    }
    .nav-container{
      width: 100%;
      height: 99px;
      display: flex;
      justify-content: space-around;
      .logo{
        width: 125px;
        height: 99px;
        // background-color: pink;
        display: flex;
        align-items: center;
        justify-content: center;
        img{
          width: 53px;
          height: 29px;
        }
      }
      .nav-right{
        display: flex;
        align-items: center;
        a{
          display: inline-block;
          padding: 0 22px;
          margin-left: -1px;
          height: 98px;
          line-height: 98px;
          text-decoration: none;
          color: #000;
          font-size: 17px;
          font-weight: 600;
        }
        .nav-search-box{
          display: flex;
          margin-top: 0;
          width: 212px;
          height: 30px;
          line-height: 26px;
          border: 1px solid #ccc;
          border-radius: 5px;
          vertical-align: middle;
          display: flex;
          padding: 6px 0;
          .seek{
            height: 40px;
          }
          input{
                display: inline-block;
                border: 0;
                height: 26px;
                line-height: 26px;
                width: 160px;
                vertical-align: middle;
                color: #000;
                font-size: 15px;
                text-indent: 10px;
                outline: 0;
          }
        }
      }
    }
  }
</style>